home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 1
/
Gekikoh Dennoh Club Vol. 1 (Japan).7z
/
Gekikoh Dennoh Club Vol. 1 (Japan) (Track 1).bin
/
kowin
/
archive
/
sys
/
kowin14d.lzh
/
smpl
/
wlib
/
sklt.c
< prev
Wrap
C/C++ Source or Header
|
1995-02-11
|
545b
|
32 lines
/* wlib を使った基本ウィンドウオープン */
#include <wlib.h>
EventExec( wp, info )
WindowID wp;
EventInfo *info;
{
DrawBuf dbuf[1];
switch( info->option ){
case EventOpen:
WindowRedraw( wp );
return TRUE;
case EventClose:
WindowClose( wp );
WindowConnectionClose();
return TRUE;
case EventRedraw:
DrawSetClear( dbuf, ColorGray );
WindowDraw( wp, dbuf, 1 );
return TRUE;
}
return FALSE;
}
WindowMain()
{
WindowTitleOpen( 10, 10, 100, 100, NULL, "smpl", Close|Push,
EventExec );
}